﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace Assist
{
	public class LevelFilter : ISelectionFilter
	{
		public bool AllowElement(Element elem)
		{
			return typeof(Level) == elem.GetType();
		}

		public bool AllowReference(Reference reference, XYZ pos)
		{
			return false;
		}
	}
}
